export default{
  /**
   * 正则表达式验证 是否为邮箱
   * @param {Object} email
   */
  validateEmail(email){
      const rules=/^[a-zA-Z0-9]+([-_.][a-zA-Z0-9]+)*@[a-zA-Z0-9]+([-_.][a-zA-Z0-9]+)*\.[a-z]{2,}$/
      return rules.test(email)
  }
}
